package com.boot.hospital.score.dao.mapper;

import com.boot.hospital.score.dao.entity.Expert;

import java.util.List;
import java.util.Map;

public interface ExpertMapper {

    List<Expert> selectAll();

    int insert(Expert expert);

    List<Expert> selectByPageAndSearch(Map<String, Object> params);

    int updateExpert(Expert expert);

    int deleteExpertsByIds(List<String> expertIds);

    Expert getExpertByExpertName(String expertName);

    int deleteExpertsByReviewIds(List<Integer> reviewIds);

}